<html>
  <head>
    <title>ISecurityManager</title>
    <link rel='stylesheet' type='text/css' href='../../../stylesheet.css' title='Style' />
  </head>
  <body>
    <table border='0' width='100%' cellpadding='1' cellspacing='0' summary=''>
      <tr>
        <td colspan='2' bgcolor='#EEEEFF' class='NavBarCell1'>
          <table border='0' cellpadding='0' cellspacing='3' summary=''>
            <tr align='center' valign='top'>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='../../../overview-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Overview</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='package-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Package</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#FFFFFF' class='NavBarCell1Rev'>
                <font class='NavBarFont1Rev'>
                  <b>Unit</b>
                </font>&nbsp;
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <hr />
    <h2>
      <font size='-1'>OpenEdge\CommonInfrastructure\Common</font>
      <br />INTERFACE ISecurityManager
    </h2>
    <p>INTERFACE OpenEdge.CommonInfrastructure.Common.ISecurityManager </p>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="property_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Property Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.CurrentUserContext'>CurrentUserContext</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current user's context. The current user is the one who has
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>LOGICAL</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.IsManagedSession'>IsManagedSession</a>
          </b> PUBLIC GET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Describes whether the current session is managed or not.
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="method_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Method Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#authoriseoperation(openedge.lang.enummember)'> AuthoriseOperation</a>
          </b>(<a href="../../../OpenEdge/Lang/EnumMember.cls.html" title="OpenEdge.Lang.EnumMember" target="classFrame">EnumMember</a> poOperation)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#authoriseserviceaction(character,openedge.commoninfrastructure.common.servicemessage.servicemessageactionenum)'> AuthoriseServiceAction</a>
          </b>(CHARACTER pcService, <a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ServiceMessageActionEnum.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ServiceMessageActionEnum" target="classFrame">ServiceMessageActionEnum</a> poServiceMessageAction)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorises the current user to undertake the specified action on the
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#endsession()'> EndSession</a>
          </b>()
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ends a user's session (not a log out, but the opposite of EstablishSession).
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#getusercontext(longchar)'> GetUserContext</a>
          </b>(LONGCHAR pcContextId)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resolves a context ID into a context object.
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#setusercontext(openedge.commoninfrastructure.common.iusercontext)'> SetUserContext</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poUserContext)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the passed context into that user's context.
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>LONGCHAR</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#userlogin(character,character)'> UserLogin</a>
          </b>(CHARACTER pcUserName, CHARACTER pcPassword)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a user into the application
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>LONGCHAR</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#userlogin(character,character,character)'> UserLogin</a>
          </b>(CHARACTER pcUserName, CHARACTER pcUserDomain, CHARACTER pcPassword)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Logs a user into the application
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="property_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Property Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='property.CurrentUserContext'><!-- --></a>
    <h3>CurrentUserContext</h3>
    <code><a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> PUBLIC GET </code>
    <dl>
      <dd>Returns the current user's context. The current user is the one who has <p> </dd>
      <dd>a request being serviced by this AVM. </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='property.IsManagedSession'><!-- --></a>
    <h3>IsManagedSession</h3>
    <code>LOGICAL PUBLIC GET </code>
    <dl>
      <dd>Describes whether the current session is managed or not. <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="method_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Method Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='authoriseoperation(openedge.lang.enummember)'><!-- --></a>
    <h3>AuthoriseOperation</h3>
    <code>PUBLIC  VOID
      <b>AuthoriseOperation</b>(<a href="../../../OpenEdge/Lang/EnumMember.cls.html" title="OpenEdge.Lang.EnumMember" target="classFrame">EnumMember</a> poOperation)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='authoriseserviceaction(character,openedge.commoninfrastructure.common.servicemessage.servicemessageactionenum)'><!-- --></a>
    <h3>AuthoriseServiceAction</h3>
    <code>PUBLIC  VOID
      <b>AuthoriseServiceAction</b>(CHARACTER pcService, <a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ServiceMessageActionEnum.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ServiceMessageActionEnum" target="classFrame">ServiceMessageActionEnum</a> poServiceMessageAction)
    </code>
    <dl>
      <dd>Authorises the current user to undertake the specified action on the <p> </dd>
      <dd>service. An error is thrown if the authentication fails. </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>character - The service being operated upon.<br/>ServiceMessageActionEnum - The Action being performed.<br/></dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='endsession()'><!-- --></a>
    <h3>EndSession</h3>
    <code>PUBLIC  VOID
      <b>EndSession</b>()
    </code>
    <dl>
      <dd>Ends a user's session (not a log out, but the opposite of EstablishSession). <p> </dd>
      <dd>Ends the current session. </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='getusercontext(longchar)'><!-- --></a>
    <h3>GetUserContext</h3>
    <code>PUBLIC  <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a>
      <b>GetUserContext</b>(LONGCHAR pcContextId)
    </code>
    <dl>
      <dd>Resolves a context ID into a context object. <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>longchar - The identifier for the context.<br/></dd>
          <dt>
            <b>Returns:</b>
          </dt>
          <dd>IUserContext The user context object.</dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='setusercontext(openedge.commoninfrastructure.common.iusercontext)'><!-- --></a>
    <h3>SetUserContext</h3>
    <code>PUBLIC  VOID
      <b>SetUserContext</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poUserContext)
    </code>
    <dl>
      <dd>Sets the passed context into that user's context. <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>IUserContext - The context to merge.<br/></dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='userlogin(character,character)'><!-- --></a>
    <h3>UserLogin</h3>
    <code>PUBLIC  LONGCHAR
      <b>UserLogin</b>(CHARACTER pcUserName, CHARACTER pcPassword)
    </code>
    <dl>
      <dd>Logs a user into the application <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>character - The user's password. This should be encoded/encrypted.<br/></dd>
          <dt>
            <b>Returns:</b>
          </dt>
          <dd>longchar If the login succeeded, the context id of the logged-inuser. </dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='userlogin(character,character,character)'><!-- --></a>
    <h3>UserLogin</h3>
    <code>PUBLIC  LONGCHAR
      <b>UserLogin</b>(CHARACTER pcUserName, CHARACTER pcUserDomain, CHARACTER pcPassword)
    </code>
    <dl>
      <dd>Logs a user into the application <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>character - The user's password. This should be encoded/encrypted.<br/></dd>
          <dt>
            <b>Returns:</b>
          </dt>
          <dd>longchar If the login succeeded, the context id of the logged-inuser. </dd>
        </dl>
      </dd>
    </dl>
    <hr />
  </body>
</html>